Scripting > CxAud > AudClient Object > AudClient Properties

AudClient Properties

The AudClient object contains the following properties. The GetReferences method must be called before the properties will be populated.

Property SubType Read Only Description

AccessControlService

String

Yes

Returns the name of the ACS associated with a given service. If no ACS is associated with a given service, an empty string is returned.

AuditService

 

String

Yes

This property is currently not used by the Client object.

AuxiliaryService1

String

Yes

This property is currently not used by the Client object.

AuxiliaryService2

String

Yes

This property is currently not used by the Client object.

CommonAlarmService

String

Yes

This property is currently not used by the Client object.

ConfigurationManagementService

String

Yes

This property is currently not used by the Client object.

GeneralNotificationService

String

Yes

This property is currently not used by the Client object.

IsConnected

Boolean

Yes

Returns True if the Client object is connected to a SITE.SERVICE. Returns False if it is not.

SecurityApplication

String

Yes

Returns the configured security application for the service. This is the ACS_APPLICATION keyword in the service configuration file.

SecurityEvent

String

Yes

Returns the name of the configured security event(s) for the service. The value(s) correspond with security event keyword(s) in the Security Keywords section of the Service configuration file.

SecurityEvent requires an index parameter. The index parameters identify security event keywords as follows:

  • (0) = DBS_MAIN_SEC_EVENT
  • (1) = DBS_SEC_EVENT_1
  • (2) = DBS_SEC_EVENT_2
  • (3) = DBS_SEC_EVENT_3
  • (4) = DBS_SEC_EVENT_4
  • (5) = DBS_SEC_EVENT_5

For example, <SvcName>Client.SecurityEvent(0) returns the event associated with DBS_MAIN_SEC_EVENT.

See Security Keywords in the service configuration file.

SecurityLevel

String

Yes

This property is currently not used by the Client object.

ServiceDirectory

String

Yes

Returns the name of the ARS configured for this service.

ServiceType

String

Yes

This property is currently not used by the Client object.

SiteService

String

Yes

The site and service to connect to, in "site.service" format.

SystemAdministrationService

String

Yes

This property is currently not used by the Client object.

SystemLoggingService

String

Yes

Returns the name of the ELS configured for this service. If no ELS is associated with a service, an empty string is returned.

TableReferenceService1

String

Yes

Returns the name of the TRS configured for this service. If no TRS is associated with a service, an empty string is returned.

TableReferenceService2

String

Yes

This property is currently not used by the Client object.

TableReferenceService3

String

Yes

This property is currently not used by the Client object.

UserFlagsCount

Integer

Yes

Returns the number of user flags supported by the system. Use this to set the size of the array for the UpdateUserFlags call.

UserId

String

Yes

Returns the current user ID of the client program.

ValueHistoryService

String

Yes

This property is currently not used by the Client object.

Back to top

Let us know how we can improve this topic.

CygNet at weatherford.com

© 2020 Weatherford. All rights reserved.